package com.ccrfid.rmc6.ws.c5.cardreader.pojo;

import javax.xml.bind.annotation.*;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = {"cardNumber", "cardReaderNumber", "ipAddrs", "cardIcNumber"})
@XmlRootElement(name = "uploadCard")
public class UploadCardRequest {
    @XmlElement(name = "cardNumber", required = true)
    private Long cardNumber;
    @XmlElement(name = "cardReaderNumber")
    private String cardReaderNumber;
    @XmlElement(name = "ipAddrs")
    private String ipAddrs;
    @XmlElement(name = "cardIcNumber")
    private String cardIcNumber;

    public Long getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(Long cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getCardReaderNumber() {
        return cardReaderNumber;
    }

    public void setCardReaderNumber(String cardReaderNumber) {
        this.cardReaderNumber = cardReaderNumber;
    }

    public String getIpAddrs() {
        return ipAddrs;
    }

    public void setIpAddrs(String ipAddrs) {
        this.ipAddrs = ipAddrs;
    }

    public String getCardIcNumber() {
        return cardIcNumber;
    }

    public void setCardIcNumber(String cardIcNumber) {
        this.cardIcNumber = cardIcNumber;
    }

    @Override
    public String toString() {
        return "UploadCardRequest{" +
                "cardNumber=" + cardNumber +
                ", cardReaderNumber='" + cardReaderNumber + '\'' +
                ", ipAddrs='" + ipAddrs + '\'' +
                ", cardIcNumber='" + cardIcNumber + '\'' +
                '}';
    }
}
